package com.forever.toolAndAgent;


import dev.langchain4j.service.Result;
import dev.langchain4j.service.spring.AiService;
import dev.langchain4j.service.spring.AiServiceWiringMode;

@AiService(
        wiringMode = AiServiceWiringMode.EXPLICIT,
        tools = {"calculator"},
        chatModel = "openAiChatModel"
)
public interface Assistant {
    Result<AiResult> chat(String userMessage);
}

